﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NetMicro.Cache.RedisProvider
{
    /// <summary>
    /// 有序集合的成员和分数
    /// </summary>
    public class ZMemberScore
    {
        /// <summary>
        /// 成员
        /// </summary>
        public string Member { get; set; }

        /// <summary>
        /// 分数
        /// </summary>
        public decimal Score { get; set; }
    }

    /// <summary>
    /// 有序集合的成员和分数
    /// </summary>
    public class ZMemberScore<T>
    {
        /// <summary>
        /// 成员
        /// </summary>
        public T Member { get; set; }

        /// <summary>
        /// 分数
        /// </summary>
        public decimal Score { get; set; }
    }
}
